<?php
?>
<div class="form">
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'custom-form',
    ));
    ?>
    <p class="note">Fields with <span class="required">*</span> are required......</p>
    <?php echo $form->errorSummary($model); ?>
    <?php echo "<front style='color:red'>$message </front>" ?>
    <div class="row">
        <?php echo $form->labelEx($model, 'record_id'); ?>
        <?php echo $form->textField($model, 'record_id'); ?>
        <?php echo $form->error($model, 'record_id'); ?>
    </div>
    <div class="row buttons">
        <?php echo CHtml::submitButton('deleteAll'); ?>
    </div>
    <?php $this->endWidget(); ?>
</div>